package com.iot.core.data;

import io.swagger.v3.oas.annotations.media.Schema;
import com.iot.core.util.MyJSON;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
@Data
@EqualsAndHashCode
@Schema(name = "基本Dto",description = "")
public class BaseDto implements Serializable  {
    private static final long serialVersionUID = 1L;

    private Long id=0L;
    @Override
    public   String toString(){
        return MyJSON.toJSONString(this);
    }
}
